<!DOCTYPE html>
<html>
<head>
    <#include "*/common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(customerLinkman.id)!}"/>
    <input name="cusId" type="hidden" value="${(customer.id)!}"/>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">联系人姓名</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="linkName"
                   value="${(customerLinkman.linkName)!}" id="linkName" placeholder="请输入联系人姓名">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sex"
                   value="${(customerLinkman.sex)!}" id="sex" placeholder="请输入联系人性别">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">职位</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="zhiwei"
                   value="${(customerLinkman.zhiwei)!}" id="zhiwei" placeholder="请输入联系人职位">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">办公室电话</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="officePhone"
                   value="${(customerLinkman.officePhone)!}" id="officePhone" placeholder="请输入办公室电话">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">电话号码</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="phone"
                   value="${(customerLinkman.phone)!}" id="phone" placeholder="请输入联系人电话">
        </div>
    </div>

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit="addOrUpdateCustomerLinkman" lay-filter="addOrUpdateCustomerLinkman">确认</button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="${ctx.contextPath}/js/linkman/add.update.js"></script>
</body>
</html>